<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<table class="width-100 margin-10-auto table land-table">
    <thead>
    <tr class="center-align table-header">
        <th>Applied Date</th>
        <th>Applicant Name</th>
        <th></th>
    </tr>
    </thead>
    <tbody>
    <s:iterator status="status" value="landApplicationList">
        <tr class="<s:if test="#status.odd == true">table-row-odd</s:if><s:else>table-row-even</s:else>">
            <td class="center-align"><s:property value="submitDate"/></td>
            <td class="center-align"><s:property value="applicant.name"/></td>
            <td class="center-align">
                <s:url id="completed" action="completeApplication">
                    <s:param name="applicationId" value="id"/>
                </s:url>
                <s:a href="%{completed}">
                    <img src="<s:url value='/images/modify-form.png'/>" border="none" width="25"
                         height="25"/>
                </s:a>
            </td>
        </tr>
    </s:iterator>
    </tbody>
</table>